﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Empires.CRL.DataContract;

namespace Empires.RAL.Access
{
    public interface ICompanyBusinessAccess
    {
        List<DefaultDataPack> GetBusinessDetail(string copname, int bid);
        List<DefaultDataPack> GetBusinessList(string copname, int page, int size, int type, int subject);
        int GetBusinessItemCount(string copname, int type, int subject);

        int BusinessItemDelete(string copname, int bid);

        bool EditBusinessItem(string copname, BusinessDataPack model);

        int AddBusinessItem(string copname, BusinessDataPack businessDataPack);

        void UpdateBusiness(string copname, BusinessDataPack businessDataPack);

        List<DefaultDataPack> GetUtilsDetails(string copName, int type);
    }
}
